Skip to content

feat: replace PyFlow with uv support#4

Merged
zoispag merged 7 commits intomasterfrom
support-uv
Apr 6, 2026
Merged

feat: replace PyFlow with uv support#4
zoispag merged 7 commits intomasterfrom
support-uv

Conversation

@zoispag
Copy link
Copy Markdown
Owner

@zoispag zoispag commented Apr 6, 2026

Summary

  • Removes PyFlow support — deleted python/pyflow.go, pyflow.lock, and pyproject.toml.pyflow; removed __pypackages__ detection paths from run.go and virtualenv.go
  • Adds uv support — new python/uv.go handler runs uv sync; detection via presence of uv.lock (added to pep518.go)
  • uv takes precedence over Poetrypep518Proc checks isUv(path) before isPoetry(tomlContent)

Package Manager Precedence (updated)

Priority Tool Indicator
1 uv uv.lock + pyproject.toml
2 Poetry pyproject.toml with [tool.poetry]
3 pipenv Pipfile
4 pip + venv requirements.txt

Files Changed

  • python/uv.go — new uv handler (uvProc)
  • python/pep518.go — added isUv(), updated routing
  • python/run.go — removed PyFlow / __pypackages__ paths
  • python/virtualenv.go — removed PyFlow cleanup block
  • python/pyflow.godeleted
  • pyflow.lock, pyproject.toml.pyflowdeleted
  • README.md — updated package manager table and precedence
  • AGENTS.md — new agent-facing project documentation
  • .gitignore — removed __pypackages__/, added .sisyphus/

Verification

  • go build ./...
  • go vet ./...
  • No remaining PyFlow references in python/
  • Public API signatures unchanged ✅

zoispag added 7 commits April 6, 2026 22:44
- Add testdata/{uv,poetry,pipenv,pip}/ fixtures (pyproject.toml/lockfiles/script.py)
- Add python/e2e_test.go with one test per package manager; skips if tool not on PATH
- Add .github/workflows/test.yml: matrix CI over uv/poetry/pipenv/pip
- Remove root-level Python demo files (Pipfile*, pyproject.toml, poetry*, requirements.txt, script.py, main.go)
- Update AGENTS.md with testdata layout and test commands
- actions/checkout: v2/v4 -> v6
- actions/setup-go: v5 -> v6
- actions/setup-python: v5 -> v6
- astral-sh/setup-uv: v5 -> v8
- github/codeql-action/*: v1 -> v4
- Remove stale PR checkout workaround from codeql-analysis.yml
@zoispag zoispag merged commit d2455b3 into master Apr 6, 2026
5 checks passed
@zoispag zoispag deleted the support-uv branch April 6, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant